package com.shujia.day14;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class Code11FileReader {
    public static void main(String[] args) throws IOException {
        FileReader fileReader = new FileReader("data/aa.txt");
        char[] chars = new char[10];
        int read = fileReader.read(chars);
        System.out.println(chars);
        fileReader.close();
    }
}
